import {postData} from "./http";

export const getAllWorkCommentsByPage = (currentPage, size, data) => postData(`/workComment/getAllWorkCommentsByPage?currentPage=${currentPage}&size=${size}`, data);

export const changeWorkCommentById = (data) => postData(`/workComment/changeWorkCommentById`, data);

export const selectCommentById = (data) =>postData(`/workComment/selectCommentById`, data);

export const adminAddWorkComment = (data) =>postData(`/workComment/adminAddWorkComment`, data);

export const deleteWorkCommentById = (data) =>postData(`/workComment/deleteWorkCommentById`, data);
